import { Component, OnInit, EventEmitter, Output } from '@angular/core'

@Component({
  selector: 'cp-error',
  templateUrl: './error.component.html',
  styleUrls: ['./error.component.scss']
})
export class ErrorComponent implements OnInit {
  @Output() reload = new EventEmitter()
  constructor() {}

  ngOnInit() {}

  handleReload() {
    this.reload.emit()
  }
}
